package la.iok.hzsvn.lewin.movie.mapper;

import la.iok.hzsvn.lewin.movie.entity.AppPackage;
import la.iok.hzsvn.lewin.movie.model.Version;
import la.iok.hzsvn.lewin.mybatis.mapper.BaseMapper;
import la.iok.hzsvn.share.annotations.NotNull;

public interface AppPackageMapper extends BaseMapper<AppPackage> {

    int exist(@NotNull String appName, @NotNull String packageType, @NotNull String productType, @NotNull String versionName);

    Version version(String appName, String packageType, String productType);

    void resetLatest(String appName, String packageType, String productType);
}
